﻿using Microsoft.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;

namespace mozhi.smarterp.Foundation.EntityFrameworkCore;

public class FoundationHttpApiHostMigrationsDbContext : AbpDbContext<FoundationHttpApiHostMigrationsDbContext>
{
    public FoundationHttpApiHostMigrationsDbContext(DbContextOptions<FoundationHttpApiHostMigrationsDbContext> options)
        : base(options)
    {

    }

    protected override void OnModelCreating(ModelBuilder modelBuilder)
    {
        base.OnModelCreating(modelBuilder);

        modelBuilder.ConfigureFoundation();
    }
}
